package com.djj.nanny.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.djj.nanny.entity.ServiceReview;

public interface ServiceReviewService {
    void createReview(ServiceReview review);

    ServiceReview getReviewById(Long id);

    Page<ServiceReview> getReviewsByPage(Long userId, Long staffId, Long orderId, Integer pageNum, Integer pageSize);

    Page<ServiceReview> getOrderReviewsByPage(Long orderId, String userName, String staffName, Integer pageNum, Integer pageSize);
}